package com.ruoyi.squadweb.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * CDK使用记录对象 cdk_usage_records
 *
 * @author ruoyi
 * @date 2024-03-17
 */
public class CdkUsageRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long sequenceNumber;

    /** 唯一身份标识 */
    @Excel(name = "唯一身份标识")
    private String userIdentifier;

    /** CDKEY */
    @Excel(name = "CDKEY")
    private String usedCdk;

    /** 组织标签 */
    @Excel(name = "组织标签")
    private String organizationTag;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contactInfo;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String remarks;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date activationTime;

    public void setSequenceNumber(Long sequenceNumber)
    {
        this.sequenceNumber = sequenceNumber;
    }

    public Long getSequenceNumber()
    {
        return sequenceNumber;
    }
    public void setUserIdentifier(String userIdentifier)
    {
        this.userIdentifier = userIdentifier;
    }

    public String getUserIdentifier()
    {
        return userIdentifier;
    }
    public void setUsedCdk(String usedCdk)
    {
        this.usedCdk = usedCdk;
    }

    public String getUsedCdk()
    {
        return usedCdk;
    }
    public void setOrganizationTag(String organizationTag)
    {
        this.organizationTag = organizationTag;
    }

    public String getOrganizationTag()
    {
        return organizationTag;
    }
    public void setContactInfo(String contactInfo)
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo()
    {
        return contactInfo;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }
    public void setActivationTime(Date activationTime)
    {
        this.activationTime = activationTime;
    }

    public Date getActivationTime()
    {
        return activationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sequenceNumber", getSequenceNumber())
            .append("userIdentifier", getUserIdentifier())
            .append("usedCdk", getUsedCdk())
            .append("organizationTag", getOrganizationTag())
            .append("contactInfo", getContactInfo())
            .append("remarks", getRemarks())
            .append("activationTime", getActivationTime())
            .toString();
    }
}
